let arr: any = [];
export function exchartResize(mychart: any) {
  arr.push(mychart);

  arr.forEach((item: any) => {
    window.onresize = () => {
      item.resize();
    };
  });
}
